package com.wecan.oauth.DTO.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author liuzhihao
 * @Date 2022.01.20
 * @Version ${version}
 * @Description ${description}
 */
@Schema(title = "修改密码")
@Data
public class EditPassDTO {
    @Schema(title = "旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;
    @Schema(title = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
